package thyyxxk.webserver.entity.orderZdMaintain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "yz_order_item")
public class YzOrderItemDTO {
    private String orderClass;
    @TableField(exist = false)
    private String orderClassName;
    @TableId(type = IdType.INPUT)
    private String orderCode;
    private String orderName;
    private String pyCode;
    private String dCode;
    private String excluGroupType;
    private String delFlag; // String, as the SQL uses ISNULL with '0'
    private String discription; // Note: SQL has two "discription" columns, this is the first one.
    private String operation;
    private String oweOcc;
    private String dlCode;
    private String xlCode;
    private String ybComment;
    private String hlClass;
    private String comment1;
    private String discription1; // Renamed to avoid conflict
    private String nCode;
    private String newFlag;  // String, as the SQL assigns '0'
    private String orderType;
    @TableField(exist = false)
    private String orderTypeName;
    private String ypFlag;
    private String jyType;
    @TableField(exist = false)
    private String jyTypeName;
    private String ssType;
    private String frequType;
    private String execDept;
    @TableField(exist = false)
    private String execDeptName;
    private String qjFlag;
    private String genderRestriction;
    private String maxAgeRestriction;
    private String minAgeRestriction;
}
