| | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | |
| | |
| | | public class SalesQuotation { |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | @ApiModelProperty(value = "报价单编号") |
| | | @Schema(description = "报价单编号") |
| | | @Excel(name = "报价单编号") |
| | | private String quotationNo; |
| | | @ApiModelProperty(value = "客户名称") |
| | | @Schema(description = "客户名称") |
| | | @Excel(name = "客户名称") |
| | | private String customer; |
| | | |
| | | @ApiModelProperty(value = "业务员") |
| | | @Schema(description = "业务员") |
| | | @Excel(name = "业务员") |
| | | private String salesperson; |
| | | @ApiModelProperty(value = "报价日期") |
| | | @Schema(description = "报价日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "报价日期", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private LocalDate quotationDate; |
| | | @ApiModelProperty(value = "有效期至") |
| | | @Schema(description = "有效期至") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "有效期至", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private LocalDate validDate; |
| | | @ApiModelProperty(value = "付款方式") |
| | | @Schema(description = "付款方式") |
| | | private String paymentMethod; |
| | | @ApiModelProperty(value = "交货周期天数") |
| | | @Schema(description = "交货周期天数") |
| | | private String deliveryPeriod; |
| | | @ApiModelProperty(value = "状态") |
| | | @Schema(description = "状态") |
| | | private String status; |
| | | @ApiModelProperty(value = "报价总金额") |
| | | @Schema(description = "报价总金额") |
| | | @Excel(name = "报价金额") |
| | | private Double totalAmount; |
| | | private BigDecimal totalAmount; |
| | | |
| | | @ApiModelProperty(value = "备注") |
| | | @Schema(description = "备注") |
| | | private String remark; |
| | | @ApiModelProperty(value = "创建时间") |
| | | @Schema(description = "创建时间") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @Schema(description = "修改时间") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty(value = "创建用户") |
| | | @Schema(description = "创建用户") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer createUser; |
| | | |
| | | @ApiModelProperty(value = "修改用户") |
| | | @Schema(description = "修改用户") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Integer updateUser; |
| | | |
| | | @ApiModelProperty(value = "租户ID") |
| | | @Schema(description = "租户ID") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long tenantId; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | } |