package com.dk.mdm.model.vo.mac; import cn.afterturn.easypoi.excel.annotation.Excel; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.dk.common.infrastructure.annotaiton.ExportTitle; import com.dk.common.infrastructure.handler.JsonTypeHandler; import com.dk.common.infrastructure.handler.TimestampTypeHandler; import com.dk.common.infrastructure.handler.UuidTypeHandler; import com.dk.common.model.pojo.PageInfo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.NoArgsConstructor; import lombok.experimental.Accessors; import java.io.Serializable; import java.math.BigDecimal; import java.time.LocalDate; import java.time.LocalDateTime; /** * 其他支出单 */ @Data @AllArgsConstructor @NoArgsConstructor @EqualsAndHashCode(callSuper = true) @Accessors(chain = true) @ExportTitle("其他支出单") @TableName(value = "t_mac_other_payable", autoResultMap = true) @ApiModel(value="实体类:其他支出单", description="表名:t_mac_other_payable") public class OtherPayableVO extends PageInfo implements Serializable { /* * 数据库字段 */ /** * 其它支出单ID */ // @TableId(value = "payable_id", type = IdType.AUTO) @ApiModelProperty(value = "其它支出单ID") @TableField(typeHandler = UuidTypeHandler.class) private String payableId; /** * 其它支出单号 */ @Excel(name = "其它支出单号") @ApiModelProperty(value = "其它支出单号") private String payableNo; /** * 对象类型 (【系统字典】客户、供应商) */ @Excel(name = "对象类型 (【系统字典】客户、供应商)") @ApiModelProperty(value = "对象类型 (【系统字典】客户、供应商)") private String objectType; /** * 账务对象ID (账务对象) */ @Excel(name = "账务对象ID (账务对象)") @ApiModelProperty(value = "账务对象ID (账务对象)") @TableField(typeHandler = UuidTypeHandler.class) private String objectId; /** * 部门 */ @Excel(name = "部门") @ApiModelProperty(value = "部门") @TableField(typeHandler = UuidTypeHandler.class) private String orgId; /** * 员工 */ @Excel(name = "员工") @ApiModelProperty(value = "员工") @TableField(typeHandler = UuidTypeHandler.class) private String staffId; /** * 合计应付 */ @Excel(name = "合计应付") @ApiModelProperty(value = "合计应付") private BigDecimal sumAmtPayable; /** * 账务明细ID */ @Excel(name = "账务明细ID") @ApiModelProperty(value = "账务明细ID") @TableField(typeHandler = UuidTypeHandler.class) private String accItemId; /** * 账务日期 (账务日期) */ @Excel(name = "账务日期 (账务日期)") @ApiModelProperty(value = "账务日期 (账务日期)") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @TableField(typeHandler = TimestampTypeHandler.class) private LocalDate accDate; /** * 备注 */ @Excel(name = "备注") @ApiModelProperty(value = "备注") private String remarks; /** * 附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...) */ @Excel(name = "附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)") @ApiModelProperty(value = "附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)") @TableField(typeHandler = JsonTypeHandler.class) private JSONObject annexPaths; /** * 制单员 */ @Excel(name = "制单员") @ApiModelProperty(value = "制单员") @TableField(typeHandler = UuidTypeHandler.class) private String makeStaff; /** * 制单时间 */ @Excel(name = "制单时间") @ApiModelProperty(value = "制单时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @TableField(typeHandler = TimestampTypeHandler.class) private LocalDateTime makeTime; /** * 有效标识 (1:正常 0:停用) */ @Excel(name = "有效标识 (1:正常 0:停用)") @ApiModelProperty(value = "有效标识 (1:正常 0:停用)") private Boolean flgValid; /** * 企业ID */ @TableField(fill = FieldFill.INSERT) @Excel(name = "企业ID") @ApiModelProperty(value = "企业ID") private Integer cpId; private static final long serialVersionUID = 1L; }