package com.pz.merchant.domain.vo; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelProperty; import com.pz.common.annotation.ExcelDictFormat; import com.pz.common.convert.ExcelDictConvert; import lombok.Data; import java.io.Serializable; import java.util.Date; /** * 商户视图对象 company * * @author WangMin * @date 2023-09-11 */ @Data @ExcelIgnoreUnannotated public class CompanyVo implements Serializable { private static final long serialVersionUID = 1L; /** * ID */ @ExcelProperty(value = "ID") private Integer id; /** * 商户名称 */ @ExcelProperty(value = "商户名称") private String name; /** * 城市 */ @ExcelProperty(value = "城市") private Long cityId; /** * 城市名称 */ private String cityName; /** * 商户电话 */ @ExcelProperty(value = "商户电话") private String tel; /** * 商户手机 */ @ExcelProperty(value = "商户手机") private String phone; /** * 商户地址 */ @ExcelProperty(value = "商户地址") private String address; /** * 状态 0-待审核,1-正常,2-禁用 */ @ExcelProperty(value = "状态", converter = ExcelDictConvert.class) @ExcelDictFormat(dictType = "company_state") private Integer status; /** * 营业执照 */ @ExcelProperty(value = "营业执照") private String businessLicense; /** * 是否缴纳保证金 0-否,1-是 */ @ExcelProperty(value = "是否缴纳保证金", converter = ExcelDictConvert.class) @ExcelDictFormat(dictType = "company_is_cash_deposit") private Integer isCashDeposit; /** * 保证金金额 */ @ExcelProperty(value = "保证金金额") private String cashDeposit; /** * 创建人 */ @ExcelProperty(value = "创建人") private Integer uid; /** * 总收益 */ @ExcelProperty(value = "总收益") private String totalRevenue; /** * 当前余额 */ @ExcelProperty(value = "当前余额") private String balance; /** * 冻结余额 */ @ExcelProperty(value = "冻结余额") private String freezeBalance; /** * 注册时间 */ @ExcelProperty(value = "注册时间") private Date createTime; /** * 备注 */ @ExcelProperty(value = "备注") private String remark; private Integer value; private String text; }