package com.ruoyi.production.pojo; import com.baomidou.mybatisplus.annotation.*; import lombok.Builder; import lombok.Data; import java.math.BigDecimal; import java.time.LocalDate; import java.time.LocalDateTime; /** * @author :yys * @date : 2025/7/8 13:24 */ @TableName("sales_ledger_production_accounting") @Data @Builder public class SalesLedgerProductionAccounting { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 销售排产-报工表id */ private Long salesLedgerWorkId; /** * 销售排产表id */ private Long salesLedgerSchedulingId; /** * 销售台账id */ private Long salesLedgerId; /** * 销售产品id */ private Long salesLedgerProductId; /** * 生产人id */ private Long schedulingUserId; /** * 生产人名称 */ private String schedulingUserName; /** * 生产数量 */ private BigDecimal finishedNum; /** * 工时定额 */ private BigDecimal workHours; /** * 工序 */ private String process; /** * 生产日期 */ private LocalDate schedulingDate; /** * 创建者 */ @TableField(fill = FieldFill.INSERT) private Integer createUser; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; /** * 修改者 */ @TableField(fill = FieldFill.UPDATE) private Integer updateUser; /** * 修改时间 */ @TableField(fill = FieldFill.UPDATE) private LocalDateTime updateTime; /** * 租户ID */ @TableField(fill = FieldFill.INSERT) private Long tenantId; }