package com.qianwen.mdc.domain; import java.io.Serializable; import java.util.Date; //import javax.persistence.*; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; /** * 设备台账 */ @TableName("machine_account") public class MachineAccount implements Serializable { @TableId(type=IdType.ASSIGN_ID) private Long id; /** * 机床id */ @TableField("machine_id") private Long machineId; private String machineName; /** * 统一编号 */ private String uuid; /** * 规格 */ private String specification; /** * 设备型号 */ private String type; /** * 设备类型id,device_type.id */ private Long deviceTypeId; /** * 加工类型(原设备类型)(立加/卧加/立卧转换/五轴/数控车/复合加工/数控磨/齿加工/电加工) */ private String category; /** * 数控系统 */ //@Column(name = "cnc_system") private String cncSystem; /** * 账务属性(帐内/帐外) */ //@Column(name = "accounting_attribute") private String accountingAttribute; /** * 设备管理分类 */ //@Column(name = "manage_type") private String manageType; /** * location */ private String location; /** * 使用部门 */ private Integer department; /** * 是否关键设备 */ //@Column(name = "is_critical") //private Boolean isCritical; /** * 是否精密设备 */ //@Column(name = "is_precision") //private Boolean isPrecision; /** * electrical complexity factor */ //@Column(name = "elec_comp_factor") private Integer elecCompFactor; /** * 复杂因子 */ //@Column(name = "mech_comp_factor") private Integer mechCompFactor; /** * 国别 */ private String country; /** * 制造商 */ private String manufacturer; /** * 生产日期 */ private Date productionDate; /** * 设备原值 */ private Float originalValue; /** * 设备静现值 */ private Float presentValue; /** * 重量 */ private Integer weight; /** * 图片 */ private String pic; /** * 备注 */ private String remark; private static final long serialVersionUID = 1L; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getMachineId() { return machineId; } public void setMachineId(Long machineId) { this.machineId = machineId; } public String getMachineName() { return machineName; } public void setMachineName(String machineName) { this.machineName = machineName; } public String getUuid() { return uuid; } public void setUuid(String uuid) { this.uuid = uuid; } public String getSpecification() { return specification; } public void setSpecification(String specification) { this.specification = specification; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getCategory() { return category; } public void setCategory(String category) { this.category = category; } public String getCncSystem() { return cncSystem; } public void setCncSystem(String cncSystem) { this.cncSystem = cncSystem; } public String getAccountingAttribute() { return accountingAttribute; } public void setAccountingAttribute(String accountingAttribute) { this.accountingAttribute = accountingAttribute; } public String getManageType() { return manageType; } public void setManageType(String manageType) { this.manageType = manageType; } public String getLocation() { return location; } public void setLocation(String location) { this.location = location; } public Integer getDepartment() { return department; } public void setDepartment(Integer department) { this.department = department; } public Integer getElecCompFactor() { return elecCompFactor; } public void setElecCompFactor(Integer elecCompFactor) { this.elecCompFactor = elecCompFactor; } public Integer getMechCompFactor() { return mechCompFactor; } public void setMechCompFactor(Integer mechCompFactor) { this.mechCompFactor = mechCompFactor; } public String getCountry() { return country; } public void setCountry(String country) { this.country = country; } public String getManufacturer() { return manufacturer; } public void setManufacturer(String manufacturer) { this.manufacturer = manufacturer; } public Date getProductionDate() { return productionDate; } public void setProductionDate(Date productionDate) { this.productionDate = productionDate; } public Float getOriginalValue() { return originalValue; } public void setOriginalValue(Float originalValue) { this.originalValue = originalValue; } public Float getPresentValue() { return presentValue; } public void setPresentValue(Float presentValue) { this.presentValue = presentValue; } public Integer getWeight() { return weight; } public void setWeight(Integer weight) { this.weight = weight; } public String getPic() { return pic; } public void setPic(String pic) { this.pic = pic; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } public Long getDeviceTypeId() { return deviceTypeId; } public void setDeviceTypeId(Long deviceTypeId) { this.deviceTypeId = deviceTypeId; } }