package org.jeecg.modules.bon.entity;
|
|
import java.io.Serializable;
|
import java.io.UnsupportedEncodingException;
|
import java.util.Date;
|
import java.math.BigDecimal;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.jeecg.common.aspect.annotation.Dict;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
/**
|
* @Description: bon_sales_record
|
* @Author: jeecg-boot
|
* @Date: 2023-08-01
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("bon_sales_record")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value="bon_sales_record对象", description="bon_sales_record")
|
public class BonSalesRecord implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**id*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@ApiModelProperty(value = "id")
|
private String id;
|
/**日期*/
|
@Excel(name = "日期", width = 15, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@ApiModelProperty(value = "日期")
|
private Date sellDate;
|
/**项目类型*/
|
@ApiModelProperty(value = "项目类型")
|
@Excel(name = "奖金分配类型", width = 15,dicCode="bonus_type")
|
@Dict(dicCode = "bonus_type")
|
private Integer type;
|
/**产品长代码*/
|
@Excel(name = "产品长代码", width = 15)
|
@ApiModelProperty(value = "产品长代码")
|
private String longCode;
|
/**产品名称*/
|
@Excel(name = "产品名称", width = 15)
|
@ApiModelProperty(value = "产品名称")
|
private String name;
|
/**规格型号*/
|
@Excel(name = "规格型号", width = 15)
|
@ApiModelProperty(value = "规格型号")
|
private String model;
|
/**单位*/
|
@Excel(name = "单位", width = 15)
|
@ApiModelProperty(value = "单位")
|
private String unit;
|
/**实发数量*/
|
@Excel(name = "实发数量", width = 15)
|
@ApiModelProperty(value = "实发数量")
|
private Integer num;
|
/**销售单价*/
|
@Excel(name = "销售单价", width = 15)
|
@ApiModelProperty(value = "销售单价")
|
private BigDecimal price;
|
/**不含税销售金额*/
|
@Excel(name = "不含税销售金额", width = 15)
|
@ApiModelProperty(value = "不含税销售金额")
|
private BigDecimal amount;
|
/**备注*/
|
@Excel(name = "备注", width = 15)
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
/**项目id*/
|
@Excel(name = "项目id", width = 15)
|
@ApiModelProperty(value = "项目id")
|
private String proid;
|
/**createBy*/
|
@ApiModelProperty(value = "createBy")
|
private String createBy;
|
/**createTime*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@ApiModelProperty(value = "createTime")
|
private Date createTime;
|
/**updateBy*/
|
@ApiModelProperty(value = "updateBy")
|
private String updateBy;
|
/**updateTime*/
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
@ApiModelProperty(value = "updateTime")
|
private Date updateTime;
|
}
|