| | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | 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.text.Format; |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | |
| | |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "销售台账sales_ledger") |
| | | private Integer salesLedgerId; |
| | | @Schema(description = "invoice_registration_product表主键") |
| | | private Integer invoiceRegistrationProductId; |
| | | |
| | | @ApiModelProperty(value = "销售合同号") |
| | | private String salesContractNo; |
| | | |
| | | @ApiModelProperty(value = "客户名称ID") |
| | | private Integer customerId; |
| | | |
| | | @ApiModelProperty(value = "发票号") |
| | | @Schema(description = "发票号") |
| | | private String invoiceNo; |
| | | |
| | | @ApiModelProperty(value = "发票金额") |
| | | private BigDecimal invoiceAmount; |
| | | @Schema(description = "发票金额") |
| | | private BigDecimal invoiceTotal; |
| | | |
| | | @ApiModelProperty(value = "税率") |
| | | private BigDecimal taxRate; |
| | | |
| | | @ApiModelProperty(value = "开票人") |
| | | @Schema(description = "开票人") |
| | | private String invoicePerson; |
| | | |
| | | @ApiModelProperty(value = "开票时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime invoiceDate; |
| | | @Schema(description = "开票时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate invoiceDate; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @Schema(description = "创建时间") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty(value = "创建用户") |
| | | @Schema(description = "创建用户") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer createUser; |
| | | |
| | | @ApiModelProperty(value = "修改时间") |
| | | @Schema(description = "修改时间") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty(value = "修改用户") |
| | | @Schema(description = "修改用户") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Integer updateUser; |
| | | |
| | | @ApiModelProperty(value = "租户ID") |
| | | @Schema(description = "租户ID") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer tenantId; |
| | | private Long tenantId; |
| | | |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | } |