package com.yuanchu.mom.pojo;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.Size;
|
import javax.validation.constraints.NotNull;
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.yuanchu.mom.annotation.ValueTableShow;
|
import com.yuanchu.mom.common.OrderBy;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.AllArgsConstructor;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
import org.hibernate.validator.constraints.Length;
|
|
/**
|
*
|
* @TableName finance_submit
|
*/
|
@TableName(value ="finance_submit")
|
@Data
|
@AllArgsConstructor
|
@NoArgsConstructor
|
public class FinanceSubmit extends OrderBy implements Serializable {
|
|
/**
|
* 主键
|
*/
|
@NotNull(message="[主键]不能为空")
|
@ApiModelProperty("主键")
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 代理公司
|
*/
|
@ValueTableShow
|
@Size(max= 255,message="编码长度不能超过255")
|
@ApiModelProperty("代理商")
|
@Length(max= 255,message="编码长度不能超过255")
|
private String company;
|
/**
|
* 账户名
|
*/
|
@ValueTableShow
|
@Size(max= 255,message="编码长度不能超过255")
|
@ApiModelProperty("账户名")
|
@Length(max= 255,message="编码长度不能超过255")
|
private String name;
|
/**
|
* 消费金额
|
*/
|
@ValueTableShow
|
@ApiModelProperty("金额")
|
private BigDecimal consumption;
|
/**
|
* 代理返点
|
*/
|
@ValueTableShow
|
@ApiModelProperty("代理返点")
|
private BigDecimal agentRebate;
|
/**
|
* 打款人民币
|
*/
|
@ValueTableShow
|
@ApiModelProperty("打款人民币")
|
private BigDecimal money;
|
/**
|
* 员工返点
|
*/
|
@ValueTableShow
|
@ApiModelProperty("员工返点")
|
private BigDecimal employeeRebate;
|
/**
|
* 员工返点人民币
|
*/
|
@ValueTableShow
|
@ApiModelProperty("员工返点人民币")
|
private BigDecimal employeeRebateMoney;
|
/**
|
* 创建时间
|
*/
|
@ApiModelProperty("登记时间")
|
@TableField(fill = FieldFill.INSERT)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@ValueTableShow(6)
|
private LocalDateTime createTime;
|
/**
|
*
|
*/
|
@ApiModelProperty("系统时间")
|
@ValueTableShow(0)
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private LocalDateTime updateTime;
|
/**
|
*
|
*/
|
@ApiModelProperty("登记人id")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@ValueTableShow(5)
|
@ApiModelProperty("登记人")
|
private String createUserName;
|
/**
|
*
|
*/
|
@ApiModelProperty("更新用户id")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
private Integer dataId;
|
|
@TableField(select = false, exist = false)
|
private String param;
|
|
}
|