package cn.estsh.i3plus.pojo.platform.bean;

import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Description : 企业信息
 * @Reference   :
 * @Author      : wei.peng
 * @Date        : 2018-10-22 16:58:42.607
 * @Modify      :
 **/
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name="SYS_ENTERPRISE")
@Api(value="企业信息",description = "企业信息")
public class SysEnterprise extends BaseBean {

    private static final long serialVersionUID = -2138074947458189045L;
    @Column(name="NAME")
    @ApiParam(value ="名称" , access ="名称")
    private String name;
 
    @Column(name="ENTERPRISE_STATUS")
    @ApiParam(value ="企业状态(1.正常，2.到期，3.试用)" , example ="1" , access ="企业状态(1.正常，2.到期，3.试用)")
    private Integer enterpriseStatus;
 
    @Column(name="ENTERPRISE_EQUIPMENT_ID")
    @ApiParam(value ="服务器设备ID" , access ="服务器设备ID")
    private String enterpriseEquipmentId;
 
    @Column(name="ENTERPRISE_START_DATE_TIME")
    @ApiParam(value ="企业开始使用时间" , access ="企业开始使用时间")
    private String enterpriseStartDateTime;
 
    @Column(name="ENTERPRISE_END_DATE_TIME")
    @ApiParam(value ="企业结束使用时间" , access ="企业结束使用时间")
    private String enterpriseEndDateTime;
 
    @Column(name="ENTERPRISE_NUM_REG_USER")
    @ApiParam(value ="用户注册数" , example ="0" , access ="用户注册数")
    private Integer enterpriseNumRegUser;
 
    @Column(name="ENTERPRISE_NUM_SYN_USER")
    @ApiParam(value ="用户同时在线" , example ="0" , access ="用户同时在线")
    private Integer enterpriseNumSynUser;
 
    @Column(name="ENTERPRISE_NUM_FACTORY")
    @ApiParam(value ="工厂数量" , example ="0" , access ="工厂数量")
    private Integer enterpriseNumFactory;
 
    @Column(name="ENTERPRISE_NUM_WAREHOUSE")
    @ApiParam(value ="仓库数量" , example ="0" , access ="仓库数量")
    private Integer enterpriseNumWarehouse;
 
    @Column(name="ENTERPRISE_CONTACT_NAME")
    @ApiParam(value ="企业联系人" , access ="企业联系人")
    private String enterpriseContactName;
 
    @Column(name="ENTERPRISE_CONTACT_EMAIL")
    @ApiParam(value ="企业邮箱" , access ="企业邮箱")
    private String enterpriseContactEmail;
 
    @Column(name="ENTERPRISE_CONTACT_PHONE")
    @ApiParam(value ="企业联系电话" , access ="企业联系电话")
    private String enterpriseContactPhone;
 
    @Column(name="ENTERPRISE_ADDR")
    @ApiParam(value ="企业公司地址" , access ="企业公司地址")
    private String enterpriseAddr;

}
