jiazx0107@163.com
2023-05-17 620eab6cca2bc9ef9ea6d3067a0a5ba1deadbd1c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.ld.igds.constant.Constant;
 
import lombok.Data;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
 
import java.io.Serializable;
 
/**
 * 字典信息,粮食产地
 *
 *
 * @author Andy
 */
@Data
@Entity
@Table(name = "D_DIC_FOOD_ORIGIN")
public class DicFoodOrigin implements Serializable {
 
    private static final long serialVersionUID = 2988683387356674937L;
 
    @Id
    @Column(name = "ID_")
    @GeneratedValue(strategy = GenerationType.AUTO)
    private int id;
    
    @Column(name = "CODE_", length = 50)
    @PropertyDef(label = "产地编码")
    private String code;
 
    @Column(name = "NAME_", length = 50)
    @PropertyDef(label = "产地名称")
    private String name;
 
    @Column(name = "SORT_")
    @PropertyDef(label = "排序")
    private int sort = 1000;
 
    @PropertyDef(label = "产地简拼")
    @Column(name = "SIMPLE_", length = 20)
    private String simple;
 
    @PropertyDef(label = "是否禁用")
    @Column(name = "DISABLED_TAG_", length = 1)
    private String disabledTag = Constant.YN_N;
 
}