首页>代码>spring mvc+Resteasy+Mybatis+Ehcache整合开发java webservice接口示例demo>/springmvcResteasyMybatisEhcache/src/main/java/com/uniware/domain/Company.java
package com.uniware.domain;

import java.io.Serializable;

import com.uniware.util.jsonxml.BeanJson;

import java.lang.reflect.Type;

import com.google.gson.reflect.TypeToken;

import java.util.List;

import org.springframework.stereotype.Component;


/**
 * 
 *  AlarmRecord generated by hbm2java
 * 
 **/
@Component
public class Company implements Base, Serializable {

	private static final long serialVersionUID = 1L;
	/**经营业户ID**/
	private Integer id;

	/**经营业户名称**/
	private String name;

	/**企业简称**/
	private String shortName;

	/**有效期起始日期**/
	private java.util.Date startDate;

	/**有效期结束日期**/
	private java.util.Date endDate;

	/**运营证照片**/
	private String operaPhoto;

	/**行政区划(可选全国城市)**/
	private String areaCity;

	/**组织机构代码证号**/
	private String organNum;

	/**经济类型(可选国企、私企、民企等)**/
	private String economyType;

	/**企业经营范围**/
	private String businessScope;

	/**企业经营许可证字**/
	private String permisName;

	/**企业经营许可证号**/
	private String permisNum;

	/**许可证有效期起**/
	private java.util.Date permisStartDate;

	/**许可证有效期止**/
	private java.util.Date permisEndDate;

	/**许可证发证机关**/
	private String permisOrgan;

	/**许可证初次发证日期**/
	private java.util.Date permisFirstDate;

	/**注册资本**/
	private String registerAssets;

	/**企业拥有车辆数**/
	private String vehicleCount;

	/**法定代表人姓名**/
	private String representName;

	/**负责人姓名**/
	private String leaderName;

	/**企业质量信誉等级**/
	private String creditGrand;

	/**信誉考核日期**/
	private java.util.Date creditDate;

	/**业户状况0营业1停业**/
	private String state;

	/**联络人**/
	private String relatName;

	/**联络电话**/
	private String relatPhone;

	/**手机号**/
	private String phone;

	/**EMail**/
	private String mail;

	/**详细地址**/
	private String address;

	/**备案号**/
	private String caseNum;


	//----------------构造方法
	public Company(){}

	public Company (Integer id,String name,String shortName,java.util.Date startDate,java.util.Date endDate,String operaPhoto,String areaCity,String organNum,String economyType,String businessScope,String permisName,String permisNum,java.util.Date permisStartDate,java.util.Date permisEndDate,String permisOrgan,java.util.Date permisFirstDate,String registerAssets,String vehicleCount,String representName,String leaderName,String creditGrand,java.util.Date creditDate,String state,String relatName,String relatPhone,String phone,String mail,String address,String caseNum){
		this.id = id;
		this.name = name;
		this.shortName = shortName;
		this.startDate = startDate;
		this.endDate = endDate;
		this.operaPhoto = operaPhoto;
		this.areaCity = areaCity;
		this.organNum = organNum;
		this.economyType = economyType;
		this.businessScope = businessScope;
		this.permisName = permisName;
		this.permisNum = permisNum;
		this.permisStartDate = permisStartDate;
		this.permisEndDate = permisEndDate;
		this.permisOrgan = permisOrgan;
		this.permisFirstDate = permisFirstDate;
		this.registerAssets = registerAssets;
		this.vehicleCount = vehicleCount;
		this.representName = representName;
		this.leaderName = leaderName;
		this.creditGrand = creditGrand;
		this.creditDate = creditDate;
		this.state = state;
		this.relatName = relatName;
		this.relatPhone = relatPhone;
		this.phone = phone;
		this.mail = mail;
		this.address = address;
		this.caseNum = caseNum;
	}


	public void setId(Integer id){
		this.id = id;
	}

	public Integer getId(){
		return this.id;
	}

	public void setName(String name){
		this.name = name;
	}

	public String getName(){
		return this.name;
	}

	public void setShortName(String shortName){
		this.shortName = shortName;
	}

	public String getShortName(){
		return this.shortName;
	}

	public void setStartDate(java.util.Date startDate){
		this.startDate = startDate;
	}

	public java.util.Date getStartDate(){
		return this.startDate;
	}

	public void setEndDate(java.util.Date endDate){
		this.endDate = endDate;
	}

	public java.util.Date getEndDate(){
		return this.endDate;
	}

	public void setOperaPhoto(String operaPhoto){
		this.operaPhoto = operaPhoto;
	}

	public String getOperaPhoto(){
		return this.operaPhoto;
	}

	public void setAreaCity(String areaCity){
		this.areaCity = areaCity;
	}

	public String getAreaCity(){
		return this.areaCity;
	}

	public void setOrganNum(String organNum){
		this.organNum = organNum;
	}

	public String getOrganNum(){
		return this.organNum;
	}

	public void setEconomyType(String economyType){
		this.economyType = economyType;
	}

	public String getEconomyType(){
		return this.economyType;
	}

	public void setBusinessScope(String businessScope){
		this.businessScope = businessScope;
	}

	public String getBusinessScope(){
		return this.businessScope;
	}

	public void setPermisName(String permisName){
		this.permisName = permisName;
	}

	public String getPermisName(){
		return this.permisName;
	}

	public void setPermisNum(String permisNum){
		this.permisNum = permisNum;
	}

	public String getPermisNum(){
		return this.permisNum;
	}

	public void setPermisStartDate(java.util.Date permisStartDate){
		this.permisStartDate = permisStartDate;
	}

	public java.util.Date getPermisStartDate(){
		return this.permisStartDate;
	}

	public void setPermisEndDate(java.util.Date permisEndDate){
		this.permisEndDate = permisEndDate;
	}

	public java.util.Date getPermisEndDate(){
		return this.permisEndDate;
	}

	public void setPermisOrgan(String permisOrgan){
		this.permisOrgan = permisOrgan;
	}

	public String getPermisOrgan(){
		return this.permisOrgan;
	}

	public void setPermisFirstDate(java.util.Date permisFirstDate){
		this.permisFirstDate = permisFirstDate;
	}

	public java.util.Date getPermisFirstDate(){
		return this.permisFirstDate;
	}

	public void setRegisterAssets(String registerAssets){
		this.registerAssets = registerAssets;
	}

	public String getRegisterAssets(){
		return this.registerAssets;
	}

	public void setVehicleCount(String vehicleCount){
		this.vehicleCount = vehicleCount;
	}

	public String getVehicleCount(){
		return this.vehicleCount;
	}

	public void setRepresentName(String representName){
		this.representName = representName;
	}

	public String getRepresentName(){
		return this.representName;
	}

	public void setLeaderName(String leaderName){
		this.leaderName = leaderName;
	}

	public String getLeaderName(){
		return this.leaderName;
	}

	public void setCreditGrand(String creditGrand){
		this.creditGrand = creditGrand;
	}

	public String getCreditGrand(){
		return this.creditGrand;
	}

	public void setCreditDate(java.util.Date creditDate){
		this.creditDate = creditDate;
	}

	public java.util.Date getCreditDate(){
		return this.creditDate;
	}

	public void setState(String state){
		this.state = state;
	}

	public String getState(){
		return this.state;
	}

	public void setRelatName(String relatName){
		this.relatName = relatName;
	}

	public String getRelatName(){
		return this.relatName;
	}

	public void setRelatPhone(String relatPhone){
		this.relatPhone = relatPhone;
	}

	public String getRelatPhone(){
		return this.relatPhone;
	}

	public void setPhone(String phone){
		this.phone = phone;
	}

	public String getPhone(){
		return this.phone;
	}

	public void setMail(String mail){
		this.mail = mail;
	}

	public String getMail(){
		return this.mail;
	}

	public void setAddress(String address){
		this.address = address;
	}

	public String getAddress(){
		return this.address;
	}

	public void setCaseNum(String caseNum){
		this.caseNum = caseNum;
	}

	public String getCaseNum(){
		return this.caseNum;
	}

	@Override
	public String toString() {
		return BeanJson.bean2json(this);
	}

	public static Company fromString(String jsonString){
		return  BeanJson.json2bean(jsonString, Company.class);
	}

	public static Company valueOf(String jsonString) {
		return  BeanJson.json2bean(jsonString, Company.class);
	}

	@Override
	public Type getReflectType() {
		return new TypeToken<Company>(){}.getType();
	}

	@Override
	public Type getReflectListType() {
		return new TypeToken<List<Company>>(){}.getType();
	}



}
最近下载更多
503382513  LV10 10月29日
1358849392  LV21 2023年11月18日
xinshofh  LV9 2023年6月7日
wsupsup  LV16 2021年6月7日
hehe264  LV20 2020年5月11日
我真的是小明  LV10 2019年7月16日
kenmeon  LV1 2019年2月5日
luujaa  LV1 2019年2月3日
大鹏小镇  LV14 2018年9月7日
hopeway  LV1 2018年9月5日
最近浏览更多
ksksksks  LV11 2023年9月18日
xinshofh  LV9 2023年6月7日
503382513  LV10 2022年12月6日
tlpaladin  LV7 2022年11月29日
谢谢谢谢谢谢你  LV6 2022年7月19日
MouYa77  LV10 2022年2月18日
刘亦菲9527  LV15 2021年12月27日
ssh123  LV10 2021年11月18日
huaua7676  LV30 2021年9月25日
shiopaaa  LV13 2021年8月18日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友