package com.fs.company.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import com.fs.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 企业对象 company
 *
 * @author fs
 * @date 2021-10-04
 */
@Data
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long companyId;

    /** 企业名 */
    @Excel(name = "企业名")
    private String companyName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String companyMobile;

    /** 地址 */
    @Excel(name = "地址")
    private String companyAddress;
    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date limitTime;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal money;

    /** 余额 */
    @Excel(name = "佣金")
    private BigDecimal tuiMoney;



    private Integer companyType;

    private Long userId;

    private String appId;

    private String appKey;

    @Excel(name = "管理员账号")
    private String userName;

    private String password;


    private String remark;

    private String linkName;

    private Integer limitUserCount;

    private Integer isDel;


}
