| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.models.auth.In; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | private Integer projectPhase; |
| | | |
| | | @ApiModelProperty("制单日期") |
| | | private LocalDateTime preparedAt; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate preparedAt; |
| | | |
| | | @ApiModelProperty("制单人id") |
| | | private Long preparedUserId; |
| | | |
| | | @ApiModelProperty("制单人名称") |
| | | private String preparedUserName; |
| | | |
| | | @ApiModelProperty("退料人id") |
| | | private Long returnUserId; |
| | | |
| | | @ApiModelProperty("退料人名称") |
| | | private String returnUserName; |
| | | |
| | | @ApiModelProperty("采购订单id") |
| | | private Long purchaseLedgerId; |
| | |
| | | @ApiModelProperty("备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty("'整单折扣额'") |
| | | private BigDecimal totalDiscountAmount; |
| | | |
| | | @ApiModelProperty("'整单折扣率'") |
| | | private BigDecimal totalDiscountRate; |
| | | |
| | | @ApiModelProperty("'成交金额'") |
| | | private BigDecimal totalAmount; |
| | | |
| | | @ApiModelProperty("录入时间") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty("更新时间") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty("收入类型") |
| | | @TableField(value = "income_type") |
| | | private Integer incomeType; |
| | | |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @TableField(value = "create_user",fill = FieldFill.INSERT) |
| | | private Integer createUser; |
| | | |
| | | @TableField(value = "update_user",fill = FieldFill.INSERT_UPDATE) |
| | | private Integer updateUser; |
| | | |
| | | @TableField(value = "create_user_name", fill = FieldFill.INSERT) |
| | | private String createUserName; |
| | | |
| | | @TableField(value = "update_user_name", fill = FieldFill.INSERT_UPDATE) |
| | | private String updateUserName; |
| | | } |